<%@page contentType="text/html" pageEncoding="UTF-8" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Register</title>
    <style>
        .error {
            background-color: #ffcccc;
            border: 2px solid red;
        }
    </style>
</head>
<body>
<%--<s:url var="cp" value="${pageContext.request.contextPath}"/>--%>
<%--<h1>Welcome to Spitter!</h1>--%>
<h1>Register Page</h1>
<form action="/spitter/register" method="post" enctype="multipart/form-data">
    <label for="email">email:</label>
    <input id="email" name="email" type="text"/>
    <br/>
    <label for="firstName">firstName:</label>
    <input id="firstName" name="firstName" type="text"/>
    <br/>
    <label for="lastName">lastName:</label>
    <input id="lastName" name="lastName" type="text"/>
    <br/>
    <label for="userName">UserName:</label>
    <input id="userName" name="userName" type="text"/>
    <br/>
    <label for="password">Password</label>
    <input id="password" name="password" type="password"/>
    <br/>
    <input type="submit" value="注册"/>
</form>

</body>
</html>
